package com.panda.web.service.commons;

import com.baomidou.mybatisplus.extension.service.IService;
import com.panda.web.domain.vo.EditionVO;
import com.panda.web.domain.vo.YjsEditionVO;
import com.panda.web.entity.commons.GraduateEdition;
import com.panda.web.entity.commons.SpecialEdition;
import com.panda.web.utils.pageutils.PageResult;

import java.util.List;


/**
 * 专业分类Service接口
 * 
 * @author cpanda
 * @date 2025-03-05
 */
public interface IGraduateEditionService extends IService<GraduateEdition> {
    //分页查询
    PageResult<GraduateEdition> PageList(GraduateEdition dto, Integer pageNum, Integer pageSize);
    //无分页查询
    List<GraduateEdition> choiceList(GraduateEdition dto);
    //回显数据
    GraduateEdition selectById(Long editionId);

    //新增
    int insert(GraduateEdition dto);
    //修改数据
    int updateEditionById(GraduateEdition dto);
    //删除数据（逻辑删除）
    int removeByEditionIds(List<Long> ids);

    List<YjsEditionVO> getGraduateTree(GraduateEdition edition);
}
